<?php

namespace App\Controller\Example;

class BannerExample extends BaseExample
{
    public $id;// int NOT NULL AUTO_INCREMENT,
    public $type;// int NOT NULL DEFAULT '1' COMMENT '类型 1：静态图，2：动态跳转',
    public $img;// varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '地址',
    public $link;// varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '跳转链接',
    public $position;// varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'bar' COMMENT '位置：user,find,bar，square',
    public $bg_color;// varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '背景颜色',
    public $time;// datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '时间',
    public $status;// int NOT NULL DEFAULT '1' COMMENT '状态 1，正常 0删除',
}